from rest_framework import serializers
from complain.models import Spit



class SpitSerializer(serializers.ModelSerializer):
    '''吐槽序列化器类'''
    class Meta:
        model = Spit
        fields = '__all__'